const getters = {
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  nickname: state=>state.user.nickname,
  position:state=>state.user.position,
  identity:state=>state.user.identity,
  mobile: state => state.user.mobile,
  autoname: state => state.user.autoname,
  roles: state => state.user.roles,
  permissions: state => state.user.permissions
}
export default getters
